<div id="sidebar">
	<div id="sidebar-wrapper"> 
	<!-- Sidebar with logo and menu -->
		<h1 id="sidebar-title"><a href="#">Simpla Admin</a></h1>
		<!-- Logo (221px wide) -->
		<!-- <a href="#"><img id="logo" src="resources/images/logo.png" alt="Simpla Admin logo" /></a> -->
		<!-- Sidebar Profile links -->
		<!-- <div id="profile-links">
			Hello, <a href="#" title="Edit your profile">John Doe</a>, you have <a href="#messages" rel="modal" title="3 Messages">3 Messages</a><br />
			<br />
			<a href="#" title="View the Site">View the Site</a> | <a href="#" title="Sign Out">Sign Out</a>
		</div>        --> 
		<ul id="main-nav">  <!-- Accordion Menu -->
			<li>
				<a href="<?php echo spUrl('admin', 'listinfo');?>" class="nav-top-item <?php if($c == 'admin') { echo 'current'; } ?>"> <!-- Add the class "no-submenu" to menu items with no sub menu -->
					广告管理
				</a>      
				<ul>
					<li><a  href="<?php echo spUrl('admin', 'listinfo');?>" <?php if($a=='listinfo') { echo 'class="current"'; }?>>列表</a></li>
					<li><a href="<?php echo spUrl('admin', 'post');?>" <?php if($a=='post') { echo 'class="current"'; }?>>添加</a></li> <!-- Add class "current" to sub menu items also -->
					<li><a href="<?php echo spUrl('admin', 'listinfo_old');?>" <?php if($a=='listinfo_old') { echo 'class="current"'; }?>>以过期</a></li>
					<li><a href="<?php echo spUrl('admin', 'trash');?>" <?php if($a=='trash') { echo 'class="current"'; }?>>回收站</a></li>
				</ul>
			</li>
			<li> 
				<a href="<?php echo spUrl('store', 'main');?>" class="nav-top-item <?php if($c == 'store') { echo 'current'; } ?>"> <!-- Add the class "current" to current menu item -->
				店铺管理
				</a>
				<ul>
					<li><a href="<?php echo spUrl('store', 'add');?>" <?php if($a=='add') { echo 'class="current"'; }?>>添加</a></li> <!-- Add class "current" to sub menu items also -->
					<li><a href="<?php echo spUrl('store', 'main');?>" <?php if($a=='main') { echo 'class="current"'; }?>>列表</a></li>
					<li><a href="<?php echo spUrl('store', 'mini');?>" <?php if($a=='mini') { echo 'class="current"'; }?>>迷你列表</a></li>
				</ul>
			</li>
			<li> 
				<a href="<?php echo spUrl('stat', 'main');?>" class="nav-top-item <?php if($c == 'stat') { echo 'current'; } ?>"> <!-- Add the class "current" to current menu item -->
				数据统计
				</a>
				<ul>
					<li><a href="<?php echo spUrl('stat');?>" <?php if($a=='index') { echo 'class="current"'; }?>>总计</a></li>
					<li><a href="<?php echo spUrl('stat', 'click_by_date');?>" <?php if($a=='click_by_date') { echo 'class="current"'; }?>>每日活动统计</a></li>
				</ul>
			</li>
			<li> 
				<a href="<?php echo spUrl('idea');?>" class="nav-top-item <?php if($c=='idea') { echo 'current'; }?>"> <!-- Add the class "current" to current menu item -->
				兵器谱
				</a>
				<ul>
					<li><a href="<?php echo spUrl('idea');?>" <?php if($a=='index') { echo 'class="current"'; }?>>列表</a></li>
					<li><a href="<?php echo spUrl('idea', 'post');?>" <?php if($a=='post') { echo 'class="current"'; }?>>添加</a></li>
					<li><a href="<?php echo spUrl('idea', 'weibolist');?>" <?php if($a=='weibolist') { echo 'class="current"'; }?>>weibo推广管理</a></li>
				</ul>
			</li>
		</ul> 
	</div>
</div>
<!-- End #sidebar -->